<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <meta http-equiv="pragma" content="no-cache" />
        <meta http-equiv="cache-control" content="no-cache" />
        <meta http-equiv="expires" content="0" />
        <title></title>
        <link href="{{$http_url}}/css/css.css" rel="stylesheet" type="text/css" />
        <link href="{{$http_url}}/css/style.css" rel="stylesheet" type="text/css" />
    </head>
    <body>
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
                <td height="30">
                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                            <td height="62" background="{{$http_url}}/image/nav04.gif">
                                <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
                                    <tr>
                                        <td width="21"></td>
                                        <td width="538"><a id="delUser" href ='{{$http_url}}/createadmin/addAdminUser/'>添加新管理员</a></td>
                                        <td width="144" align="left"></td>
                                    </tr>
                                </table></td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                            <td><table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
                                    <tr>
                                        <td width="100%">
                                            <fieldset style="height:100%;">
                                                <legend>账号说明</legend>
                                                <table border="0" cellpadding="2" cellspacing="1" style="width:100%">
                                                    <tr>
                                                        <td>该账号所创建的用户都将有当前用户的目录管理权限</td>
                                                    </tr>
                                                </table>
                                                <br />
                                            </fieldset></td>
                                    </tr>
                                    <tr>
                                        <td height="40" class="font42" colspan="4">
                                            <br>
                                            <table width="100%" border="0" cellpadding="4" cellspacing="1" bgcolor="#464646" class="newfont03">
                                                <tr class="CTitle" >
                                                    <td height="22" colspan="10" align="center" style="font-size:16px">管理员详细列表</td>
                                                </tr>
                                                <tr bgcolor="#EEEEEE">
                                                    <td width="10%">用户账号</td>
                                                    <td width="10%">用户创建时间</td>
                                                    <td width="10%">密码修改/创建时间</td>
                                                    <td width="10%" >操作</td>
                                                </tr>
                                                {{if $Adminlist}}
                                                {{foreach from=$Adminlist item=list}}
                                                {{if $userID != $list.id}}
                                                <tr bgcolor="#FFFFFF">
                                                    <td>{{$list.username}}</td>
                                                    <td>{{$list.joined_time|date_format:"%Y-%m-%d %T"}}</td>
                                                    <td>{{$list.pwd_time|date_format:"%Y-%m-%d %T"}}</td>
                                                    <td>{{if $createTime < $list.joined_time }}<a href="javascript:if(confirm('确实要删除该账号吗?'))location='{{$http_url}}/createadmin/delAdminUser/?userid={{$list.id}}'"> 删除 </a>{{/if}}</td>
                                                </tr>
                                                {{/if}}
                                                {{/foreach}}
                                                {{else}}
                                                <tr bgcolor="#FFFFFF">
                                                    <td colspan="8">没有用户</td>
                                                </tr>
                                                {{/if}}
                                            </table></td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
    </body>
</html>
